/*
Copyright 2011 Mohit Shah
    
This file is part of SoundBlogs.

SoundBlogs is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

SoundBlogs is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with SoundBlogs.  If not, see <http://www.gnu.org/licenses/>.
*/

package com.application.soundblogs;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.view.Window;

public class SoundBlogs extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);
        setContentView(R.layout.main);
        getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, R.layout.mytitle);
        int secondsDelayed = 5;
        new Handler().postDelayed(new Runnable() {
                public void run() {
                        startActivity(new Intent(SoundBlogs.this, HomePage.class));
                        finish();
                }
        }, secondsDelayed * 1000);

    }
}
